package com.caac.core.web.action;

import java.io.Serializable;
import java.util.List;

import org.apache.struts.action.ActionForward;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright caac 2004</p>
 * <p>Company: caac</p>
 * @author <a href="mailto:project@caac.com.cn">Project Group</a>
 * @version 1.0
 */

public class ViewForward implements Serializable {
    private ActionForward forward;
    private Object data;
    private List viewProps;
    private String viewName;
    private String orderName;

    public ViewForward(ActionForward forward, Object data, List viewProps,
                       String viewName, String orderName) {
        this.forward = forward;
        this.data = data;
        this.viewProps = viewProps;
        this.viewName = viewName;
        this.orderName = orderName;
    }

    public ActionForward getFoward() {
        return forward;
    }

    public Object getData() {
        return data;
    }

    public List getViewProps() {
        return viewProps;
    }

    public String getViewName() {
        return viewName;
    }

    public String getOrderName() {
        return orderName;
    }
}
